<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="referrer" content="no-referrer" />
    <title>循环加载DOM</title>
    <style>
        body {
            position: absolute;
            margin: 0;
            width: 100%;
            height: 100%;
        }

        #mapContainer {
            left: 0px;
            top: 0px;
            width: 100%;
            height: 100%;
            float: left;
        }
    </style>
</head>

<body>
    <div id="mapContainer" style="position: relative;"></div>
</body>
<script src='/GiswayEngine.js'></script>
<script type="text/javascript">
    window.app = new GE.App('mapContainer', {
        position: [0, 0,19000000],
        lookAt: [0, 0, 0],
        cameraScrollSpeed: 5,
        minZoom: 1,
        maxZoom: 18,
        ambientLightIntensity: 5,
        useDefaultTexture: true, //是否使用瓦片默认纹理       
        useCarpet: true, //开启地图的地毯功能
        maxSlopeAngle: 80, //地图最大倾斜角度
        baseLayer: [
            {
                // url: 'http://115.236.87.26:8848/googleTiles/china_image/{z}/{y}/{x}.jpg',               
                url: ' https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', //影像底图的url
                urlDecimal: true,
                tileType: 'image',
                canNotSelect: false, //true表示该图层不参与射线拾取，false表示图层参与射线拾取
            },
        ]
    });

    window.app.on('Click', function (e) {
        console.log(e);
    });


</script>

</html>